/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.company.teleporter.util;

/**
 *
 * @author home
 */
public class OS {

    private static final String name = System.getProperty("os.name");
    private static final boolean win = name.contains("win");
    private static final boolean mac = name.contains("mac");
    private static final boolean nix = name.contains("nix");

    public static boolean isWin() {
        return win;
    }

    public static boolean isMac() {
        return mac;
    }

    public static boolean isNix() {
        return nix;
    }

    public static String getName() {
        return name;
    }
    
    
}
